import { memo } from 'react'
import BarChart from '@/components/BarChart'

const Home = memo(() => {
  return (
    <div>
      <BarChart
        xData={['Vue', 'React', 'Angular']}
        yData={[2000, 5000, 1000]}
      />

      <BarChart
        xData={['Vue', 'React', 'Angular']}
        yData={[200, 500, 100]}
        style={{ width: '500px', height: '400px' }}
      />
    </div>
  )
})

Home.displayName = 'Home'
export default Home
